<div class="content">
        <div class="content_header">        
        <?php 
        echo "<span style='text-transform:uppercase'>".$loai_tintuc->menu_name_giaoban."</span>";
        
        ?>
        </div>
        <?php 
        $user_id = $this->session->userdata("user_id");
        $tittle = $new->tieude_giaoban;
        $noidung = $new->noidung_giaoban;
        $date = $new->ngay_giaoban;
        $user = $new->tenthat_nguoidung;
        ?>
        <div class="content_news">
            <div class="news_box first_box">
                <div class="news_box_header">
                    <?php echo $tittle;?>
                	<?php 	                
	                if( ($checkQuyen && $user_id == $new->id_nguoidung) 
						|| $user_id == 12
						|| $user_id == 16	
						|| $typeAllow == TRUE												
					){	               
	                ?>
	                <a class="suabutton" href="<?php echo base_url().'giaoban/viewedit/'.$type."/".$new->id_giaoban?>">Sửa</a>
	                <a class="suabutton" href="<?php echo base_url().'giaoban/del/'.$type."/".$new->id_giaoban?>">Xóa</a>
	                <?php }?>
                </div>
                <div class="news_box_time">
                    <?php echo $date." - ".$user;?>
                </div>
                <div class="news_box_content">
                    <?php echo $noidung;?>
                </div>
            </div>
        </div>
	<?php 
	echo ($new->tailieu_giaoban==null)?"Không có tài liệu":"<a href='".site_url('giaoban/download/'.$new->id_giaoban)."'>".$new->tailieu_giaoban."</a>";
	echo "</br>";
	?>
</div>
<div style="clear:both"></div>
</div>